<!--  -->
<script setup>
defineProps(['data'])
</script>

<template>
  <div class="checkbox-container">
    <div v-for="item in data" :key="item.id">
      <input type="checkbox" :id="item.id" :value="item.id" />
      <label :for="item.id">{{ item.name }}</label>
    </div>
  </div>
</template>

<style scoped lang="scss">
.checkbox-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

</style>
